﻿<Application x:Class="CG.SpotifyControl.App"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:clr="clr-namespace:System;assembly=mscorlib"
		xmlns:CGConverters="clr-namespace:CG.Common.Wpf.Converters;assembly=CG.Common"
		StartupUri="MainWindow.xaml"
		DispatcherUnhandledException="App_DispatcherUnhandledException">
	
    <Application.Resources>
		<ResourceDictionary>
			<clr:String x:Key="ApplicationName">SpotifyControl</clr:String>
			<!--<BitmapImage x:Key="ApplicationImage" UriSource="pack://application:,,,/SpotifyControl;component/Graphics/Spotify_256x256px.png" />-->
			<BitmapImage x:Key="ApplicationIcon" UriSource="/SpotifyControl;component/Graphics/Spotify3.ico" />
			<clr:String x:Key="MenuSettings">Settings</clr:String>
			<clr:String x:Key="MenuExit">Exit</clr:String>
			<CGConverters:BitmapToBitmapSource x:Key="BitmapToBitmapSource" />
			
			<Style x:Key="SpotifyWindowStyle" TargetType="{x:Type Window}">
				<Setter Property="Background" Value="#FF4E4E4E"/>
			</Style>
			
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="ButtonsDictionary.xaml"/>
				
				<!-- Apply expression blend style on propertyGrid -->
				<ResourceDictionary Source="/WPG;component/Themes/ExpressionBlend.xaml" />
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Application.Resources>
</Application>
